{template "header.html"}
<!--首页导航-->
{template "index-fanhui.html"}
{template "fanhui.html"}
<div class="d-kuan d-yincang d-shang-12"></div>
<form action="" class="" method="post" name="myform" id="myform">
	{$form}
	<div class="d-container " style="background-color: {$beijingyanse};">
		<div class="d-row ">
			<div class="d-col-md-10-juzhong d-beijing-baise d-neishang-15 d-yuanjiao-10" id="question-submit">
				{if $catid && $module['category'][$catid]['setting']['notedit']}
					{php echo substr_count($is_sync_cat, ',') + 1;}
					<label style="margin-top: 7px;">
						<span class="label label-sm label-success circle">{$module['category'][$catid]['name']}</span>
					</label>
					<input type="hidden" id="dr_catid" name="data[catid]" value="{$catid}">
				{else}
				<label class="d-kuan d-zuoyou-10 d-xia-10">{$select}</label>
					{if $module['setting']['sync_category']}
						{if !$id || $is_sync_cat}
						<label style="margin-right:10"><a href="javascript:;" onclick="dr_syncat()">[{dr_lang('同步发布到其他栏目')}]</a></label>
						<label>
							<input id="dr_syncatid" name="sync_cat" type="hidden" value="{$is_sync_cat}" />
							<span id="dr_syncat_text" class="label label-success" style="display: {if $is_sync_cat}blank{else}none{/if};"><b id="dr_syncat_num">{php echo substr_count($is_sync_cat, ',') + 1;}</b></span>
						</label>
						{else if $link_id != 0}
						<label>{dr_lang('修改内容时会同步更新其他外联文档')}</label>
						{/if}
					{/if}
				{/if}
				{$myfield}
				{if $is_post_code}
				    <div class="form-group" id="dr_row_code">
				        <label class="control-label col-md-2"><span class="required" aria-required="true"> * </span> {dr_lang('验证码')}</label>
				        <div class="col-md-2">
				            <label>
				                <div class="form-recaptcha">
				                    <div class="input-group">
				                        <input type="text" id="dr_code" class="form-control" name="code">
				                        <div class="input-group-btn fc-code">
				                            {dr_code(120, 35)}
				                        </div>
				                    </div>
				                </div>
				            </label>
				        </div>
				    </div>
				    {/if}
					<div class="d-clear"></div>
			</div>
		</div>
		<div class="d-clear"></div>
	</div>
	<div class="d-clear"></div>
	<div class="portlet-body form myfooter d-dibu">
	    <div class="form-actions text-center">
	        <label><button type="button" style="width: 200px;" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '2000','/index.php?s=quan')" class="btn green">  {dr_lang('申请圈子')}</button></label>
	        <!--label><button type="button" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '2000', '{$reply_url}')" class="btn yellow" > <i class="fa fa-mail-reply-all"></i> {dr_lang('保存并返回')}</button></label-->
	    </div>
	</div>
</form>
<style>
	#dr_tid {
		width: 100% !important;
	}
	.form .form-actions, .portlet-form .form-actions {
	    padding: 15px;
	    margin: 0;
	    background-color: #f5f5f5;
	    border-top: 1px solid #e7ecf1;
		
	}
	.bootstrap-select .btn {
	    border-color: #ffffff;
		background-color: #f5f5f5;
		line-height: 50px;
	}
	
	.dr_row_quanbu {
		display: none;
	}
	
	.form-control {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #f3f4f7;
	    background-image: none;
	    border: 1px solid #f3f4f7;
	    border-radius: 5px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	
	select {
	    font-weight: normal;
	    display: block;
	    white-space: nowrap;
	    min-height: 1.2em;
	    padding: 0px 2px 1px;
		border: 1px solid #f3f4f7;
		border-radius: 4px;
	}
	
	.mt-checkbox-inline {
		display: none;
	}
	.note-style {
		display: none;
	}
	.note-font {
		display: none;
	}
	.note-fontname {
		display: none;
	}
	.note-color {
		display: none;
	}
	.note-para {
		display: none;
	}
	.note-table {
		display: none;
	}
	.note-attach {
		display: none;
	}
	.note-video {
		display: none;
	}
	.note-view {
		display: none;
	}
	.d-ui-catid {
		display: none;
	}
</style>
{template "mfooter.html"}